package com.mezz.bones.framework.id.generator.service;

import com.mezz.bones.framework.id.generator.domain.dto.IdRangeDto;

public abstract class IDistributedIdGeneratorService {
    public abstract long getNextId(String businessKey);

    public abstract IdRangeDto getNextIdRange(String businessKey, int batchSize);
}
